package com.flash.TAManagement.entity;

import org.springframework.stereotype.Repository;

@Repository
public class TaDealingBalance {
//    d.fundId,t.TAId,d.cashId,d.dealPrice,d.dealNumber,d.dealMoney,d.dealTime,d.dealWay,d.dealState
    private String fundId;
    private String TAId;
    private String cashId;
    private double dealPrice;
    private double dealNumber;
    private double dealMoney;
    private String dealTime;
    private int dealWay;
    private int dealState;
    private int taId;

    public TaDealingBalance(){}

    public TaDealingBalance(String fundId, String TAId, String cashId, double dealPrice, double dealNumber, double dealMoney, String dealTime, int dealWay, int dealState, int taId) {
        this.fundId = fundId;
        this.TAId = TAId;
        this.cashId = cashId;
        this.dealPrice = dealPrice;
        this.dealNumber = dealNumber;
        this.dealMoney = dealMoney;
        this.dealTime = dealTime;
        this.dealWay = dealWay;
        this.dealState = dealState;
        this.taId = taId;
    }

    @Override
    public String toString() {
        return "TaDealingBalance{" +
                "fundId='" + fundId + '\'' +
                ", TAId='" + TAId + '\'' +
                ", cashId='" + cashId + '\'' +
                ", dealPrice=" + dealPrice +
                ", dealNumber=" + dealNumber +
                ", dealMoney=" + dealMoney +
                ", dealTime='" + dealTime + '\'' +
                ", dealWay=" + dealWay +
                ", dealState=" + dealState +
                ", taId=" + taId +
                '}';
    }

    public int getTaId() {
        return taId;
    }

    public void setTaId(int taId) {
        this.taId = taId;
    }

    public String getFundId() {
        return fundId;
    }

    public void setFundId(String fundId) {
        this.fundId = fundId;
    }

    public String getTAId() {
        return TAId;
    }

    public void setTAId(String TAId) {
        this.TAId = TAId;
    }

    public String getCashId() {
        return cashId;
    }

    public void setCashId(String cashId) {
        this.cashId = cashId;
    }

    public double getDealPrice() {
        return dealPrice;
    }

    public void setDealPrice(double dealPrice) {
        this.dealPrice = dealPrice;
    }

    public double getDealNumber() {
        return dealNumber;
    }

    public void setDealNumber(double dealNumber) {
        this.dealNumber = dealNumber;
    }

    public double getDealMoney() {
        return dealMoney;
    }

    public void setDealMoney(double dealMoney) {
        this.dealMoney = dealMoney;
    }

    public String getDealTime() {
        return dealTime;
    }

    public void setDealTime(String dealTime) {
        this.dealTime = dealTime;
    }

    public int getDealWay() {
        return dealWay;
    }

    public void setDealWay(int dealWay) {
        this.dealWay = dealWay;
    }

    public int getDealState() {
        return dealState;
    }

    public void setDealState(int dealState) {
        this.dealState = dealState;
    }
}
